//
//  MarcroExt.h
//  业务相关宏
//
//  Created by EmberWei on 2017/07/03.
//  Copyright © 2017年 LimeKing. All rights reserved.
//

#ifndef MarcroExt_h
#define MarcroExt_h


// 颜色
#define COLOR_CLEAR [UIColor clearColor]

#define COLOR_THEME      HEXCOLOR(0x4d9736)
#define COLOR_BG_GRAY    HEXCOLOR(0xedecf5)

#define COLOR_TEXT_BLACK HEXCOLOR(0x323232)
#define COLOR_TEXT_GRAY  HEXCOLOR(0x646464)
#define COLOR_TEXT_WHITE HEXCOLOR(0xffffff)

// 分页最大值
#define API_PAGE_MAX             10

// 缩写
#define CACHE  [Cache cache]

#define USERID [NSString stringWithFormat:@"%td",[Cache shared].userId]

#endif /* MarcroExt_h */
